package CoreNRMSystem;

/**
 * Generated from IDL union "SignallingInfoOfFarEndType".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public final class SignallingInfoOfFarEndType
	implements org.omg.CORBA.portable.IDLEntity
{
	private CoreNRMSystem.PositionType discriminator;
	private StnNetworkResourcesNRMSystem.SignallingInfoType signallingInfo1;
	private java.lang.String signallingInfo2;

	public SignallingInfoOfFarEndType ()
	{
	}

	public CoreNRMSystem.PositionType discriminator ()
	{
		return discriminator;
	}

	public StnNetworkResourcesNRMSystem.SignallingInfoType signallingInfo1 ()
	{
		if (discriminator != CoreNRMSystem.PositionType.SameManagedSystem)
			throw new org.omg.CORBA.BAD_OPERATION();
		return signallingInfo1;
	}

	public void signallingInfo1 (StnNetworkResourcesNRMSystem.SignallingInfoType _x)
	{
		discriminator = CoreNRMSystem.PositionType.SameManagedSystem;
		signallingInfo1 = _x;
	}

	public java.lang.String signallingInfo2 ()
	{
		if (discriminator != CoreNRMSystem.PositionType.DiffManagedSystem)
			throw new org.omg.CORBA.BAD_OPERATION();
		return signallingInfo2;
	}

	public void signallingInfo2 (java.lang.String _x)
	{
		discriminator = CoreNRMSystem.PositionType.DiffManagedSystem;
		signallingInfo2 = _x;
	}

}
